package com.hjm.project.terminal.detail.service;

import com.hjm.project.terminal.detail.domain.TerminalRecordDetail;

import java.util.List;

/**
 * 终端调拨详情Service接口
 * 
 * @author LOVE
 * @date 2020-11-28
 */
public interface ITerminalRecordDetailService 
{
    /**
     * 查询终端调拨详情
     * 
     * @param id 终端调拨详情ID
     * @return 终端调拨详情
     */
    public TerminalRecordDetail selectTerminalRecordDetailById(Long id);

    /**
     * 查询终端调拨详情列表
     * 
     * @param terminalRecordDetail 终端调拨详情
     * @return 终端调拨详情集合
     */
    public List<TerminalRecordDetail> selectTerminalRecordDetailList(TerminalRecordDetail terminalRecordDetail);

    /**
     * 新增终端调拨详情
     * 
     * @param terminalRecordDetail 终端调拨详情
     * @return 结果
     */
    public int insertTerminalRecordDetail(TerminalRecordDetail terminalRecordDetail);

    /**
     * 修改终端调拨详情
     * 
     * @param terminalRecordDetail 终端调拨详情
     * @return 结果
     */
    public int updateTerminalRecordDetail(TerminalRecordDetail terminalRecordDetail);

    /**
     * 批量删除终端调拨详情
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteTerminalRecordDetailByIds(String ids);

    /**
     * 删除终端调拨详情信息
     * 
     * @param id 终端调拨详情ID
     * @return 结果
     */
    public int deleteTerminalRecordDetailById(Long id);
}
